package com.atguigu.crowd.mapper;

import com.atguigu.crowd.mapper.bean.HardWareProtocol;
import com.atguigu.crowd.mapper.bean.HardWareProtocolExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HardWareProtocolMapper {
    long countByExample(HardWareProtocolExample example);

    int deleteByExample(HardWareProtocolExample example);

    int deleteByPrimaryKey(Integer channelId);

    int insert(HardWareProtocol record);

    int insertSelective(HardWareProtocol record);

    List<HardWareProtocol> selectByExample(HardWareProtocolExample example);

    HardWareProtocol selectByPrimaryKey(Integer channelId);

    int updateByExampleSelective(@Param("record") HardWareProtocol record, @Param("example") HardWareProtocolExample example);

    int updateByExample(@Param("record") HardWareProtocol record, @Param("example") HardWareProtocolExample example);

    int updateByPrimaryKeySelective(HardWareProtocol record);

    int updateByPrimaryKey(HardWareProtocol record);

    List<HardWareProtocol> selectAllHardWareProtocol();
}